package cs.asiainfo.config.dao;

import cs.asiainfo.config.entity.CardEntity;

/**
 * Created by many on 2016/8/9.
 * @author many
 * 会员卡DAO
 */
public interface CardDao {
    /**
     * 新增会员卡
     */
    void createCard(CardEntity cardEntity) throws Exception;

    /**
     * 查询会员卡信息
     */
    CardEntity qryCard(String cardType, int MemberId) throws Exception;

    /**
     * 更新会员卡信息
     */
    void updateCard(int cardId) throws Exception;
}

